﻿using Application.DTO;
using Application.DTO.Form;
using Domain.Entity.Form;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.IService.Form
{
    public interface IFormService:IBaseService<FormDesignInfo>
    {
        /// <summary>
        /// 添加表单数据
        /// </summary>
        /// <returns></returns>
        public Task<ResultDTO<string>> InsertForm(FormDesignerDTO dto);
        /// <summary>
        /// 修改表单数据
        /// </summary>
        /// <returns></returns>
        public Task<ResultDTO<string>> UpdateForm(FormDesignerDTO dto);
        /// <summary>
        /// 删除表单数据
        /// </summary>
        /// <returns></returns>
        public Task<ResultDTO<string>> DeleteForm(string ids);
        /// <summary>
        /// 查询表单数据
        /// </summary>
        /// <returns></returns>
        public Task<ResultDTO<List<FormDesignerDTO>>> ListFormDesigner();
    }
}
